package com.acme.task5;

public class TextModifier {
	public static void main(String[] args) {
		if (args.length != 1) {
			System.out.println("to many arguments. There are must be only one parametr. \nEXIT");
			return;
		}
		
		String str = args[0];
		for (int i = 0; i < str.length(); i++) {
			char charAtIndex = str.charAt(i);
			if ( !Character.isDigit(charAtIndex) ){
				System.out.print(charAtIndex);
			}
			if ( charAtIndex == '+' || charAtIndex == '-' ){
					System.out.print(charAtIndex);
			}
		}

	}
}